home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / ServerControlValues / Web.config < prev   
Encoding:
Extensible Markup Language  |  2004-10-22  |  3.1 KB  |  78 lines

  1. ∩╗┐<?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3.   <system.web>
  4.                                     
  5.     <!--  DYNAMIC DEBUG COMPILATION
  6.           Set compilation debug="true" to enable ASPX debugging.  Otherwise, setting this value to
  7.           false will improve runtime performance of this application. 
  8.           Set compilation debug="true" to insert debugging symbols (.pdb information)
  9.           into the compiled page. Because this creates a larger file that executes
  10.           more slowly, you should set this value to true only when debugging and to
  11.           false at all other times. For more information, refer to the documentation about
  12.           debugging ASP .NET files.         
  13.     -->
  14.     <compilation
  15.          debug="true"
  16.          defaultLanguage="c#">
  17.     </compilation>
  18.  
  19.     <!--  CUSTOM ERROR MESSAGES
  20.           Set customError mode values to control the display of user-friendly 
  21.           error messages to users instead of error details (including a stack trace):
  22.  
  23.           "On" Always display custom (friendly) messages  
  24.           "Off" Always display detailed ASP.NET error information.
  25.           "RemoteOnly" Display custom (friendly) messages only to users not running 
  26.           on the local Web server. This setting is recommended for security purposes, so 
  27.           that you do not display application detail information to remote clients.
  28.     -->
  29.     <customErrors 
  30.     mode="RemoteOnly" 
  31.     /> 
  32.  
  33.     <!--  AUTHENTICATION 
  34.           This section sets the authentication policies of the application. Possible modes are "Windows", "Forms", 
  35.           "Passport" and "None"
  36.     -->
  37.     <authentication mode="Windows" /> 
  38.  
  39.     <!--  APPLICATION-LEVEL TRACE LOGGING
  40.           Application-level tracing enables trace log output for every page within an application. 
  41.           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
  42.           trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
  43.           application trace log by browsing the "trace.axd" page from your web application
  44.           root. 
  45.     -->
  46.     <trace
  47.         enabled="false"
  48.         requestLimit="10"
  49.         pageOutput="false"
  50.         traceMode="SortByTime"
  51.         localOnly="true"
  52.     />
  53.  
  54.     <!--  SESSION STATE SETTINGS
  55.           By default ASP .NET uses cookies to identify which requests belong to a particular session. 
  56.           If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
  57.           To disable cookies, set sessionState cookieless="true".
  58.     -->
  59.     <sessionState 
  60.             mode="InProc"
  61.             stateConnectionString="tcpip=127.0.0.1:42424"
  62.             sqlConnectionString="data source=127.0.0.1;user id=sa;password="
  63.             cookieless="false" 
  64.             timeout="20" 
  65.     />
  66.  
  67.     <!--  GLOBALIZATION
  68.           This section sets the globalization settings of the application. 
  69.     -->
  70.     <globalization 
  71.             requestEncoding="utf-8" 
  72.             responseEncoding="utf-8" 
  73.    />
  74.    
  75.  </system.web>
  76.  
  77. </configuration>
  78.